package org.hhgzs.modules.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecg.common.system.base.entity.ErpEntity;

/**
 * <p>
 * 操作日志
 * </p>
 *
 * @author peiqy
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hx_log")
public class Log extends ErpEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 用户id
     */
    private Long userId;

    /**
     * 操作模块名称
     */
    private String operation;

    /**
     * 客户端IP
     */
    private String clientIp;


    /**
     * 操作状态 0==成功，1==失败
     */
    private Integer status;

    /**
     * 详情
     */
    private String content;

    /**
     * 租户id
     */
    private Long tenantId;



}
